package com.blt.govdata.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.blt.govdata.mapper.StatisticsMapper;
import com.blt.govdata.service.IStatisticsService;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class StatisticsServiceImpl extends ServiceImpl<StatisticsMapper,T> implements IStatisticsService {

    @Autowired
    private StatisticsMapper mapper;

    @Override
    public List<Map<String,Object>> projectPropertyCount(Map<String, Object> params) {
        return this.mapper.projectPropertyCount(params);
    }

    @Override
    public List<Map<String,Object>> projectFinishStatusCount(Map<String, Object> params) {
        return this.mapper.projectFinishStatusCount(params);
    }

    @Override
    public List<Map<String,Object>> projectInvestmentCount(Map<String, Object> params) {
        return this.mapper.projectInvestmentCount(params);
    }

    @Override
    public List<Map<String,Object>> projectIsImportantCount(Map<String, Object> params) {
        return this.mapper.projectIsImportantCount(params);
    }
}
